package HomeWork;

public class 基本数据类型的转换两种方式 {
    public static void main(String[] args) {
        byte a=2;
        long b=3;
        int c=1000;
        long f=c;
        byte d=(byte) c;
        int e=(int)b;


        long aa=999999999999L;
        int bb=(int)aa;
        System.out.println(bb);


        double aaa=3.1234567;
        int bbb=(int)aaa;
        System.out.println(bbb);

    }
}
